﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace mediaControl.Vo
{
    public class ProgramItemVo
    {
        //节目序号
        private Int32 no;
        //节目名称
        private String name;
        //节目信息文件路径
        private String filePath;
        //类型
        private String type;
        //切换模式
        private String switchMode;
        //音量
        private String volume;
        //开始位置
        private String startWith;
        //循环模式
        private String cycleMode;

        private String id;

        //再次双加模式
        private String doubleMode;

        //切换时间
        private string switchTime;

        //结束位置
        private string endWith;

       //淡出时间
        private string switchOutTime;

        private ObservableCollection<ProgramItem> sourceList;

        public ProgramItemVo()
        {
        }

        

        public ProgramItemVo(int no, string name, string filePath, string type, string switchMode, string volume, string startWith, string cycleMode,string id)
        {
            this.No = no;
            this.Name = name;
            this.FilePath = filePath;
            this.Type = type;
            this.SwitchMode = switchMode;
            this.Volume = volume;
            this.StartWith = startWith;
            this.CycleMode = cycleMode;
            this.Id = id;
            this.DoubleMode ="1";
        }

        public Int32 No { get => no; set => no = value; }
        public string Name { get => name; set => name = value; }
        public string FilePath { get => filePath; set => filePath = value; }
        public string Type { get => type; set => type = value; }
        public string SwitchMode { get => switchMode; set => switchMode = value; }
        public string Volume { get => volume; set => volume = value; }
        public string StartWith { get => startWith; set => startWith = value; }
        public string CycleMode { get => cycleMode; set => cycleMode = value; }
        public ObservableCollection<ProgramItem> SourceList { get => sourceList; set => sourceList = value; }
        public string Id { get => id; set => id = value; }
        public string DoubleMode { get => doubleMode; set => doubleMode = value; }
        public string SwitchTime { get => switchTime; set => switchTime = value; }
        public string EndWith { get => endWith; set => endWith = value; }
        public string SwitchOutTime { get => switchOutTime; set => switchOutTime = value; }

       
    }
}
